package com.qf.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

//需求:查询所有用户及其所下订单(一对多查询)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Customer2 {
    //用户信息
    private Integer customerId;
    private String name;
    private String address;
    //该用户所下订单
    private List<Orders2> orders2List;
}
